package com.sicnu.startup;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;

/**
 * @author zr
 * @date 2022/1/5 15:54
 */
@ImportResource(locations = {"classpath:kaptcha.xml"})
@SpringBootApplication
@ComponentScan(basePackages = "com.sicnu")
@MapperScan(basePackages = "com.sicnu.startup.mapper")
public class StartupApplication {
    public static void main(String[] args) {
        SpringApplication.run(StartupApplication.class, args);
    }
}
